package com.nmc.core.manager;

import java.util.List;

import com.nmc.core.dao.FeedbackDAO;
import com.nmc.core.dao.WardDAO;
import com.nmc.model.Feedback;
import com.nmc.model.Ward;

public class FeedbackManagerImpl implements FeedbackManager {
	
	FeedbackDAO feedbackDao = null;
	
	private static final long serialVersionUID = 1L;

	public Feedback getFeedback(int Id) {
		return feedbackDao.getFeedback(Id);
	}

	public List getFeedbackList() {
		return feedbackDao.getFeedbackList();
	}

	public void insertFeedback(Feedback feedback) {
		feedbackDao.insertFeedback(feedback);
	}

	/**
	 * @return the feedbackDao
	 */
	public FeedbackDAO getFeedbackDao() {
		return feedbackDao;
	}

	/**
	 * @param feedbackDao the feedbackDao to set
	 */
	public void setFeedbackDao(FeedbackDAO feedbackDao) {
		this.feedbackDao = feedbackDao;
	}
	

    public void deleteFeedback(Feedback feedback) {
        feedbackDao.deleteFeedback(feedback);
        
    }

			
}
	